/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.dto;

import cz.muni.restinterface.CourierDTO;
import cz.muni.restinterface.CustomerDTO;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * @author Thomas
 */
public class ShipmentDTO {
    private Long id;
    private CustomerDTO sender;
    private CustomerDTO recipient;
    private CourierDTO courier;
    private TarrifDTO tarrif;
    private String shipmentState;
    private Date creationDate;
    private Double weight;
    private Double distance;

    public void setSender(CustomerDTO sender) {
        this.sender = sender;
    }
    private BigDecimal price;
    private Long trackingNumber;
    private String description;

    public TarrifDTO getTarrif() {
        return tarrif;
    }

    public void setTarrif(TarrifDTO tarrif) {
        this.tarrif = tarrif;
    }
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public CustomerDTO getSender() {
        return sender;
    }

    public void setSendeD(CustomerDTO sender) {
        this.sender = sender;
    }

    public CustomerDTO getRecipient() {
        return recipient;
    }

    public void setRecipient(CustomerDTO recipient) {
        this.recipient = recipient;
    }

    public CourierDTO getCourier() {
        return courier;
    }

    public void setCourier(CourierDTO courier) {
        this.courier = courier;
    }

    public String getShipmentState() {
        return shipmentState;
    }

    public void setShipmentState(String shipmentState) {
        this.shipmentState = shipmentState;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Long getTrackingNumber() {
        return trackingNumber;
    }

    public void setTrackingNumber(Long trackingNumber) {
        this.trackingNumber = trackingNumber;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
